object HelloScala {
  def main(args: Array[String]): Unit = {
    println("=== Scala Demo ===")
    println("Hello from Scala running on GraalVM 25!")
    println(s"Java Version: ${System.getProperty("java.version")}")
    println(s"GraalVM Info: ${System.getProperty("java.vm.name")}")

    val languages = List("Java", "Kotlin", "Scala", "Groovy")
    val message = languages.mkString("Languages: ", " + ", "")
    println(message)
  }
}
